# /**
# * Copyright (c) 2022 Beijing Jiaotong University
# * photlab is licensed under [Open Source License].
# * You can use this software according to the terms and conditions of the [Open Source License].
# *
# * You may obtain a copy of [Open Source License] at: [https://open.source.license/]
# *
# * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
# * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
# * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
# *
# * See the [Open Source License] for more details.
# */
# /**
# * Author: Shihao Xie
# * Created: Aug. 17, 2022
# * Supported by: National Key Research and Development Program of China
# */

# thrift --gen py ./interface/main_service.thrift

include "common_data_type.thrift"
# interface count = 2
namespace py phot_server.rpc.remote_service

service Remote{
    i32 ping(1:string ip, 2:i32 port) throws (1:common_data_type.PhotError error)

    void sync_project(1:string project_path) throws (1:common_data_type.PhotError error)
}